#include "startgame.h"
#include "ui_startgame.h"
#include<QPushButton>

startGame::startGame(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::startGame)
{
    ui->setupUi(this);

    connect(this->bnt_login,&QPushButton::clicked,this, &startGame::do_login);
}

startGame::~startGame()
{
    delete ui;
}

void startGame::do_login()
{
    emit sig_login(usr_name_le->text(), usr_pass_le->text());
}
